package com.pig4cloud.pigx.contract.mongo.mapper;

import com.pig4cloud.pigx.contract.mongo.entity.ContractSymbolMongo;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.query.FluentQuery;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Optional;
import java.util.function.Function;

/**
 * mongodb实体类
 *
 * @date 2022/8/12 14:21
 */
@Component
public class ContractSymbolMongoMapper implements MongoRepository<ContractSymbolMongo, Long> {


    @Override
    public <S extends ContractSymbolMongo> S save(S entity) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> List<S> saveAll(Iterable<S> entities) {
        return null;
    }

    @Override
    public Optional<ContractSymbolMongo> findById(Long aLong) {
        return Optional.empty();
    }

    @Override
    public boolean existsById(Long aLong) {
        return false;
    }

    @Override
    public List<ContractSymbolMongo> findAll() {
        return null;
    }

    @Override
    public Iterable<ContractSymbolMongo> findAllById(Iterable<Long> longs) {
        return null;
    }

    @Override
    public long count() {
        return 0;
    }

    @Override
    public void deleteById(Long aLong) {

    }

    @Override
    public void delete(ContractSymbolMongo entity) {

    }

    @Override
    public void deleteAllById(Iterable<? extends Long> longs) {

    }

    @Override
    public void deleteAll(Iterable<? extends ContractSymbolMongo> entities) {

    }

    @Override
    public void deleteAll() {

    }

    @Override
    public List<ContractSymbolMongo> findAll(Sort sort) {
        return null;
    }

    @Override
    public Page<ContractSymbolMongo> findAll(Pageable pageable) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> S insert(S entity) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> List<S> insert(Iterable<S> entities) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> Optional<S> findOne(Example<S> example) {
        return Optional.empty();
    }

    @Override
    public <S extends ContractSymbolMongo> List<S> findAll(Example<S> example) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> List<S> findAll(Example<S> example, Sort sort) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> Page<S> findAll(Example<S> example, Pageable pageable) {
        return null;
    }

    @Override
    public <S extends ContractSymbolMongo> long count(Example<S> example) {
        return 0;
    }

    @Override
    public <S extends ContractSymbolMongo> boolean exists(Example<S> example) {
        return false;
    }

    @Override
    public <S extends ContractSymbolMongo, R> R findBy(Example<S> example, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) {
        return null;
    }

}
